(C) 1996 AROS - The Amiga Replacement OS
The Hook will be called with the same arguments as this function. If your compiler cannot support correctly registered arguments (most can), you can use the HookEntry function defined in amiga.lib to push the arguments on the stack and call your function.
See the include file utility/hooks.h for more information.
You can get the correct register definitions by using the AROS_UFHA() macros (See <utility/hooks.h>).